<template>
    <div>
详情页
{{ route.query.id }}
<img :src="route.query.img" alt="" width="100%" height="200px">
<p style="font-size: 24px;">
    {{route.query.ms}}
</p>
    </div>
</template>

<script setup>
//引入路由
import {useRoute} from 'vue-router'
//实例化
const route=useRoute()
</script>

<style scoped>

</style>